Skip to main content

Line Graph

Type

widget

Summary

A configurable line graph widget.

The graph has labelled axes and allows multiple lines to be displayed.

  • Load comma-delimited data into the graph with the graphData property
  • Set the graphColors to control the color of each line in the graph
  • Call out a specific point on the graph by setting the hilitedCoordinates

Description

A configurable line graph widget.

The graph has labelled axes and allows multiple lines to be displayed.

  • Load comma-delimited data into the graph with the graphData property
  • Set the graphColors to control the color of each line in the graph
  • Call out a specific point on the graph by setting the hilitedCoordinates

property: graphData, graphColors, hilitedCoordinates

Children Properties

Property

NameSummarySyntax
showLinesWhether chart lines are displayedset the showLines of <widget> to { true | false } get the showLines of <widget>
graphColorsThe colors for drawing lines on the graphset the graphColors of <widget> to <pColors> get the graphColors of <widget>
markerScaleA scale factor to apply to markersset the markerScale of <widget> to <real> get the markerScale of <widget>
graphXLinesWhether horizontal grid lines are displayedset the graphXLines of <widget> to { true | false } get the graphXLines of <widget>
hilitedCoordinatesThe coordinates of a highlighted point on the graphset the hilitedCoordinates of <widget> to { <point> | empty } get the hilitedCoordinates of <widget>
markerStylesThe marker styles for drawing vertices on the graphset the markerStyles of <widget> to { <string> | empty } get the markerStyles of <widget>
graphDataThe data displayed by the graph.set the graphData of <widget> to <pData> get the graphData of <widget>
hilitedCoordinatesColorThe color for drawing the highlighted pointset the hilitedCoordinatesColor of <widget> to <color> get the hilitedCoordinatesColor of <widget>
graphYLinesWhether vertical grid lines are displayedset the graphYLines of <widget> to { true | false } get the graphYLines of <widget>